\hypertarget{classjava_project}{\section{java\-Project Class Reference}
\label{classjava_project}\index{java\-Project@{java\-Project}}
}


Sample Java program using Eclipse, Git, Google Code and Doxygen written for C\-M\-P\-E 352 by Group 3.  


\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static Array\-List$<$ Integer $>$ \hyperlink{classjava_project_a0a4ad8d8932eac639efd943de5120746}{fibonacci} (int n)
\item 
static int \hyperlink{classjava_project_ae36f34d942a89a2b942781f13cdac81b}{factorial} (int n)
\item 
static int \hyperlink{classjava_project_aec1b201ec1d060e6f8bccf64a51c54a7}{sqrtsum} (int n)
\item 
static double \hyperlink{classjava_project_a3920224fcf11a914f721a7413dd9f90f}{negexpsum} (int n)
\item 
static int \hyperlink{classjava_project_afc402a55f7f05d6c32cd3441288dbc3e}{cubes} (int n)
\item 
static int \hyperlink{classjava_project_a2b8850bdd9728daedc3963c1b9ac73d9}{sum\-Of\-Equally\-Far\-Products} (int n)
\item 
static Array\-List$<$ Integer $>$ \hyperlink{classjava_project_a8488e30c8dcf0ebe74208dcab47401bc}{multiples\-Of\-Three} (int n)
\item 
static double \hyperlink{classjava_project_a50c8e66bd28f0551df55713353102aa5}{geometric\-Mean} (int n)
\item 
static Array\-List$<$ Integer $>$ \hyperlink{classjava_project_ad623ca58452ab6a3de545854a11349f0}{primes} (int number)
\item 
static void \hyperlink{classjava_project_a1960320124b114ddf3352977e4575f23}{main} (String\mbox{[}$\,$\mbox{]} args)
\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static Scanner \hyperlink{classjava_project_a9f890843a4da98b2d8fd008ef8085fc6}{sc} = new Scanner(System.\-in)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Sample Java program using Eclipse, Git, Google Code and Doxygen written for C\-M\-P\-E 352 by Group 3. 

\begin{DoxyAuthor}{Author}
Eralp Bayraktar, Cafer Caferov, Fazilet Cilli, Huseyin Demirtas, Rasit Mete Esrefoglu, Utku Mert, Setenay Ronael, Ozan Yalcin for cmpesweng2013group3 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
May 2013 
\end{DoxyDate}


Definition at line 9 of file java\-Project.\-java.



\subsection{Member Function Documentation}
\hypertarget{classjava_project_afc402a55f7f05d6c32cd3441288dbc3e}{\index{java\-Project@{java\-Project}!cubes@{cubes}}
\index{cubes@{cubes}!javaProject@{java\-Project}}
\subsubsection[{cubes}]{\setlength{\rightskip}{0pt plus 5cm}static int java\-Project.\-cubes (
\begin{DoxyParamCaption}
\item[{int}]{n}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classjava_project_afc402a55f7f05d6c32cd3441288dbc3e}
This method outputs the sum of cubes of the numbers from 1 to given number. 
\begin{DoxyParams}{Parameters}
{\em n} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 86 of file java\-Project.\-java.



Referenced by main(), and java\-Project\-Test.\-test\-Cubes().

\hypertarget{classjava_project_ae36f34d942a89a2b942781f13cdac81b}{\index{java\-Project@{java\-Project}!factorial@{factorial}}
\index{factorial@{factorial}!javaProject@{java\-Project}}
\subsubsection[{factorial}]{\setlength{\rightskip}{0pt plus 5cm}static int java\-Project.\-factorial (
\begin{DoxyParamCaption}
\item[{int}]{n}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classjava_project_ae36f34d942a89a2b942781f13cdac81b}
This method returns the factorial of the given number. 
\begin{DoxyParams}{Parameters}
{\em n} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 42 of file java\-Project.\-java.



Referenced by main(), and java\-Project\-Test.\-test\-Factorial().

\hypertarget{classjava_project_a0a4ad8d8932eac639efd943de5120746}{\index{java\-Project@{java\-Project}!fibonacci@{fibonacci}}
\index{fibonacci@{fibonacci}!javaProject@{java\-Project}}
\subsubsection[{fibonacci}]{\setlength{\rightskip}{0pt plus 5cm}static Array\-List$<$Integer$>$ java\-Project.\-fibonacci (
\begin{DoxyParamCaption}
\item[{int}]{n}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classjava_project_a0a4ad8d8932eac639efd943de5120746}
This method outputs the first n Fibonacci numbers. 
\begin{DoxyParams}{Parameters}
{\em n} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
arrlist 
\end{DoxyReturn}


Definition at line 21 of file java\-Project.\-java.



Referenced by main(), and java\-Project\-Test.\-test\-Fibonacci().

\hypertarget{classjava_project_a50c8e66bd28f0551df55713353102aa5}{\index{java\-Project@{java\-Project}!geometric\-Mean@{geometric\-Mean}}
\index{geometric\-Mean@{geometric\-Mean}!javaProject@{java\-Project}}
\subsubsection[{geometric\-Mean}]{\setlength{\rightskip}{0pt plus 5cm}static double java\-Project.\-geometric\-Mean (
\begin{DoxyParamCaption}
\item[{int}]{n}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classjava_project_a50c8e66bd28f0551df55713353102aa5}
This method outputs the geometric Mean of the series from 1 to given number. 
\begin{DoxyParams}{Parameters}
{\em n} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 137 of file java\-Project.\-java.



Referenced by main(), and java\-Project\-Test.\-test\-Geometric\-Mean().

\hypertarget{classjava_project_a1960320124b114ddf3352977e4575f23}{\index{java\-Project@{java\-Project}!main@{main}}
\index{main@{main}!javaProject@{java\-Project}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}static void java\-Project.\-main (
\begin{DoxyParamCaption}
\item[{String\mbox{[}$\,$\mbox{]}}]{args}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classjava_project_a1960320124b114ddf3352977e4575f23}
This is the starting point where user enters an integer to select a method of his/her choosing. 
\begin{DoxyParams}{Parameters}
{\em args} & \\
\hline
\end{DoxyParams}


Definition at line 197 of file java\-Project.\-java.



References cubes(), factorial(), fibonacci(), geometric\-Mean(), multiples\-Of\-Three(), negexpsum(), primes(), sc, sqrtsum(), and sum\-Of\-Equally\-Far\-Products().

\hypertarget{classjava_project_a8488e30c8dcf0ebe74208dcab47401bc}{\index{java\-Project@{java\-Project}!multiples\-Of\-Three@{multiples\-Of\-Three}}
\index{multiples\-Of\-Three@{multiples\-Of\-Three}!javaProject@{java\-Project}}
\subsubsection[{multiples\-Of\-Three}]{\setlength{\rightskip}{0pt plus 5cm}static Array\-List$<$Integer$>$ java\-Project.\-multiples\-Of\-Three (
\begin{DoxyParamCaption}
\item[{int}]{n}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classjava_project_a8488e30c8dcf0ebe74208dcab47401bc}
This method outputs the numbers that can be divided to \char`\"{}3\char`\"{} in the series from 0 to given number. 
\begin{DoxyParams}{Parameters}
{\em n} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 122 of file java\-Project.\-java.



Referenced by main(), and java\-Project\-Test.\-test\-Multiples\-Of\-Three().

\hypertarget{classjava_project_a3920224fcf11a914f721a7413dd9f90f}{\index{java\-Project@{java\-Project}!negexpsum@{negexpsum}}
\index{negexpsum@{negexpsum}!javaProject@{java\-Project}}
\subsubsection[{negexpsum}]{\setlength{\rightskip}{0pt plus 5cm}static double java\-Project.\-negexpsum (
\begin{DoxyParamCaption}
\item[{int}]{n}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classjava_project_a3920224fcf11a914f721a7413dd9f90f}
This method outputs the sum of the numbers to power of \char`\"{}-\/1\char`\"{} from 1 to given number. 
\begin{DoxyParams}{Parameters}
{\em n} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 71 of file java\-Project.\-java.



Referenced by main(), and java\-Project\-Test.\-test\-Negexpsum().

\hypertarget{classjava_project_ad623ca58452ab6a3de545854a11349f0}{\index{java\-Project@{java\-Project}!primes@{primes}}
\index{primes@{primes}!javaProject@{java\-Project}}
\subsubsection[{primes}]{\setlength{\rightskip}{0pt plus 5cm}static Array\-List$<$Integer$>$ java\-Project.\-primes (
\begin{DoxyParamCaption}
\item[{int}]{number}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classjava_project_ad623ca58452ab6a3de545854a11349f0}
This method returns the prime numbers in the series from 1 to given number. 
\begin{DoxyParams}{Parameters}
{\em number} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 150 of file java\-Project.\-java.



Referenced by main(), and java\-Project\-Test.\-test\-Primes().

\hypertarget{classjava_project_aec1b201ec1d060e6f8bccf64a51c54a7}{\index{java\-Project@{java\-Project}!sqrtsum@{sqrtsum}}
\index{sqrtsum@{sqrtsum}!javaProject@{java\-Project}}
\subsubsection[{sqrtsum}]{\setlength{\rightskip}{0pt plus 5cm}static int java\-Project.\-sqrtsum (
\begin{DoxyParamCaption}
\item[{int}]{n}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classjava_project_aec1b201ec1d060e6f8bccf64a51c54a7}
This method returns the sum of squares of the numbers from 1 to given number. 
\begin{DoxyParams}{Parameters}
{\em n} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 56 of file java\-Project.\-java.



Referenced by main(), and java\-Project\-Test.\-test\-Sqrtsum().

\hypertarget{classjava_project_a2b8850bdd9728daedc3963c1b9ac73d9}{\index{java\-Project@{java\-Project}!sum\-Of\-Equally\-Far\-Products@{sum\-Of\-Equally\-Far\-Products}}
\index{sum\-Of\-Equally\-Far\-Products@{sum\-Of\-Equally\-Far\-Products}!javaProject@{java\-Project}}
\subsubsection[{sum\-Of\-Equally\-Far\-Products}]{\setlength{\rightskip}{0pt plus 5cm}static int java\-Project.\-sum\-Of\-Equally\-Far\-Products (
\begin{DoxyParamCaption}
\item[{int}]{n}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classjava_project_a2b8850bdd9728daedc3963c1b9ac73d9}
This method returns the sum of products of equally far from the center of the series beginning from 1 to given number (e.\-g. for a given number 20, it returns 1x20 + 2x19 + 3x18 +..... + 10x11). 
\begin{DoxyParams}{Parameters}
{\em n} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 101 of file java\-Project.\-java.



Referenced by main(), and java\-Project\-Test.\-test\-Sum\-Of\-Equally\-Far\-Products().



\subsection{Member Data Documentation}
\hypertarget{classjava_project_a9f890843a4da98b2d8fd008ef8085fc6}{\index{java\-Project@{java\-Project}!sc@{sc}}
\index{sc@{sc}!javaProject@{java\-Project}}
\subsubsection[{sc}]{\setlength{\rightskip}{0pt plus 5cm}Scanner java\-Project.\-sc = new Scanner(System.\-in)\hspace{0.3cm}{\ttfamily [static]}}}\label{classjava_project_a9f890843a4da98b2d8fd008ef8085fc6}

\begin{DoxyParams}{Parameters}
{\em args} & \\
\hline
\end{DoxyParams}


Definition at line 13 of file java\-Project.\-java.



Referenced by main().



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\hyperlink{java_project_8java}{java\-Project.\-java}\end{DoxyCompactItemize}
